package com.myblog.domain.Vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Date;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class CommentVo {
    private Long articleId;
    private String content;
    private Long createBy;
    private Date createTime;
    private Long id;
    private Long rootId;
    private Long toCommentId;
    private Long toCommentUserId;
    private String toCommentUserName;
    private String username;
    private List<CommentVo> children;
}
